package com.brspace.qualitycontrol.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.brspace.qualitycontrol.entity.HouseApproval;
import com.brspace.qualitycontrol.utils.R;

/**
 * <p>
 * 建房审批 服务类
 * </p>
 *
 * @author ${author}
 * @since 2021-04-02
 */
public interface HouseApprovalService extends IService<HouseApproval> {

    /**
     * 添加房屋审批
     * @param hose
     * @return
     */
    boolean addHose(HouseApproval hose);

    /**
     * 建房分页列表
     * @param pageParam
     * @param o
     * @return
     */
    IPage<HouseApproval> selectPage(Page<HouseApproval> pageParam, Object o);

    R houseNum();
}
